package net.runman.core.model;

import java.io.Serializable;
import java.util.Date;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("t_posts")
public class Posts implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 自增主键id */
	@TableId
	private Long id;

	/** 文章标题 */
	@TableField(value = "post_title")
	private String postTitle;

	/** 文章英文标题，有道词典翻译而成 */
	@TableField(value = "post_title_en")
	private String postTitleEn;

	/** 文章主题内容 */
	@TableField(value = "post_content")
	private String postContent;

	/** 文章摘录 */
	@TableField(value = "post_excerpt")
	private String postExcerpt;

	/** 文章状态（publish/auto-draft/inherit等） */
	@TableField(value = "post_status")
	private String postStatus;

	/** 发表人 */
	@TableField(value = "post_author")
	private Long postAuthor;

	/** 发布时间 */
	@TableField(value = "post_date")
	private Date postDate;

	/** 修改时间 */
	@TableField(value = "post_modified")
	private Date postModified;

	/** 文章类型（post/page等） */
	@TableField(value = "post_type")
	private String postType;

	/** 文章MIME类型 */
	@TableField(value = "post_mime_type")
	private String postMimeType;

	/** 排序ID */
	@TableField(value = "menu_order")
	private Integer menuOrder;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPostTitle() {
		return this.postTitle;
	}

	public void setPostTitle(String postTitle) {
		this.postTitle = postTitle;
	}

	public String getPostTitleEn() {
		return this.postTitleEn;
	}

	public void setPostTitleEn(String postTitleEn) {
		this.postTitleEn = postTitleEn;
	}

	public String getPostContent() {
		return this.postContent;
	}

	public void setPostContent(String postContent) {
		this.postContent = postContent;
	}

	public String getPostExcerpt() {
		return this.postExcerpt;
	}

	public void setPostExcerpt(String postExcerpt) {
		this.postExcerpt = postExcerpt;
	}

	public String getPostStatus() {
		return this.postStatus;
	}

	public void setPostStatus(String postStatus) {
		this.postStatus = postStatus;
	}

	public Long getPostAuthor() {
		return this.postAuthor;
	}

	public void setPostAuthor(Long postAuthor) {
		this.postAuthor = postAuthor;
	}

	public Date getPostDate() {
		return this.postDate;
	}

	public void setPostDate(Date postDate) {
		this.postDate = postDate;
	}

	public Date getPostModified() {
		return this.postModified;
	}

	public void setPostModified(Date postModified) {
		this.postModified = postModified;
	}

	public String getPostType() {
		return this.postType;
	}

	public void setPostType(String postType) {
		this.postType = postType;
	}

	public String getPostMimeType() {
		return this.postMimeType;
	}

	public void setPostMimeType(String postMimeType) {
		this.postMimeType = postMimeType;
	}

	public Integer getMenuOrder() {
		return this.menuOrder;
	}

	public void setMenuOrder(Integer menuOrder) {
		this.menuOrder = menuOrder;
	}

}
